#ifndef MESSAGESCONSUMER_H
#define MESSAGESCONSUMER_H

#include <QThread>
#include <QUdpSocket>
#include <QNetworkInterface>
class MessagesConsumer : public QThread
{
	Q_OBJECT

private:
	QUdpSocket *sock;

private slots:
	void readPendingDatagrams();

public:
	MessagesConsumer();
	void run();
	
};
#endif
